#! /bin/sh

dx build --release --features web \
&& cargo run --release --features prebuild \
&& cp docs/index.html docs/404.html \
&& cp -R docs/* target/www/dioxus/ \
&& http-server target/www

scp -r ./docs/* root@0000:/workspace/www/docs/dioxus/